package cn.mdx.mapper;

import cn.mdx.pojo.Resource;
import org.springframework.stereotype.Repository;

import java.util.ArrayList;

@Repository
public interface ResourceMapper {
    int deleteByPrimaryKey(Integer rid);

    int insert(Resource record);

    int insertSelective(Resource record);

    Resource selectByPrimaryKey(Integer rid);

    int updateByPrimaryKeySelective(Resource record);

    int updateByPrimaryKey(Resource record);

    ArrayList<Resource> getResources();
}